class UploadResponse {
  String? fileName;
  String? keyName;
  String url;

  UploadResponse({
    this.fileName,
    this.keyName,
    required this.url,
  });

  factory UploadResponse.fromJson(Map<String, dynamic> json) => UploadResponse(
        fileName: json['fileName'] as String?,
        keyName: json['keyName'] as String?,
        url: json['url'] as String,
      );

  Map<String, dynamic> toJson() => {
        'fileName': fileName,
        'keyName': keyName,
        'url': url,
      };
}
